import { Img } from "esy-ui"
import React from "react"

const errorImg = "https://img2.baidu.com/it/u=600458988,3778463081&fm=253"

export const DemoR2 = () => {
    return (
        <div className="h-40 overflow-y-auto show-thumb w-full border border-solid border-primary">
            <Img errorUrl={errorImg} src="error;" />
        </div>
    )
}

export const demoR2Json = `
import { Img } from "esy-ui"
import React from "react"

const errorImg = "https://img2.baidu.com/it/u=600458988,3778463081&fm=253"

export const DemoR2 = () => {
    return (
        <div className="h-40 overflow-y-auto show-thumb w-full border border-solid border-primary">
            <Img errorUrl={errorImg} src="error;" />
        </div>
    )
}

`
